# File: ally_archer_precision.gd
extends TechnologyResource
class_name AllyArcherPrecision

var crit_chance = 0.2
var crit_mult = 0.5

func _init() -> void:
	super()
	display_name = tr("tech.archer.precision.name")
	description = tr("tech.archer.precision.desc").format({
		"crit_chance": Tools.percent_str(crit_chance),
		"crit_mult": Tools.percent_str(crit_mult)
	})
	GlobalSignal.gs_unit_created.connect(_on_unit_create)

func _on_unit_create(unit: Unit):
	pass
